*{
    margin: 0;
}
a{
    text-decoration: none;
    color: #fff;
}
div{
    box-sizing: border-box;
}
li{
    list-style: none;
}
body{
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
    -webkit-text-size-adjust: none;
    -moz-user-select: none;
    max-width: 540px;
    min-width: 320px;
    margin: 0 auto;
    background: #fafafc;
}
.search-index{
    display: flex;
    position: fixed;
    left: 50%;
    top: 0;
    width: 100%;
    padding-left: 13px;
    padding-right: 56px;
    max-width: 540px;
    transform: translateX(-50%);
    height: 44px;
    background:-webkit-linear-gradient(#728798,#bed5e5);
    z-index: 9;
}
.search-index .user{
    position: absolute;
    right: 5px;
    top: 0px;
    width: 51px;
    height: 44px;
    font-size: 12px;
    color: #fff;
    text-align: center;
    /* background: purple; */
}
.search-index .user::before{
    content: "";
    display: block;
    margin: 4px auto 1px;
    width: 22px;
    height: 22px;
    background: url('../img/user.png') no-repeat 0 -35px;
    background-size: 21px auto;
}
.search-index .search{
    position: relative;
    flex: 1;
    margin: 8px 0 ;
    height: 28px;
    color: #666;
    border-radius: 14px;
    box-shadow: 0 1px 10px rgba(0, 0, 0, .2);
    background:#fff;
}
.search-index .search span{
    position: absolute;
    left: 37px;
    line-height: 28px;
}
.search-index .search::before{
    content: "";
    position: absolute;
    left: 13px;
    top: 8px;
    width: 35px;
    height: 100%;
    background: url('../img/user.png') no-repeat 0 0;
    background-size: 21px auto;
}
.focus{
    width: 100%;
}
.focus img{
    width: 100%;
}
.local-nav{
    display: flex;
    position: relative;
    margin: 0 15px;
    left: 0;
    top: -55px;
    height: 64px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
    border-radius: 8px;
    background: #fff;
}
.local-nav li{
    flex: 1;
}
.local-nav li a{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #000;
}
.local-nav li span[class^='icon']{
    margin: 5px 0 0;
    width: 40px;
    height: 40px;
    background: url('../img/icon.png') no-repeat center -6px;
    background-size: 40px auto;
}
.local-nav li span:last-child{
    margin-top: -5px;
    font-size: 12px;
}
.local-nav li span[class='icon2']{
    background-position: center -45px;
}
.local-nav li span[class='icon3']{
    background-position: center -83px;
}
.local-nav li span[class='icon4']{
    background-position: center -124px;
}
.local-nav li span[class='icon5']{
    background-position: center -164px;
}
.nav{
    margin:-45px 15px 20px;
    border-radius: 8px;
    background: pink;
    overflow: hidden;
}
.nav a{
    display: block;
    width: 100%;
    height: 100%;
    line-height: 65.8px;
}

.nav div{
    display: flex;
    height: 65.8px;
}
.nav li{
    height: 100%;
    border-bottom: 1px solid #fff;
}
.nav .travel li{
    bottom: 0;
}
.nav .hotel li:nth-child(n+2){
    border-left: 1px solid #fff;
    text-align: center;
}
.nav .flight li:nth-child(n+2),
.nav .travel li:nth-child(n+2){
    border-left: 1px solid #fff;
    text-align: center;
}
.nav .hotel{
    background: -webkit-linear-gradient(left,#fa5a56,#ffd252);
}
.nav .flight{
    background: -webkit-linear-gradient(left,#4b90ed,#53bced);
}
.nav .travel{
    background: -webkit-linear-gradient(left,#34c2a9,#6cd558);
}
.nav .hotel li:last-child a{
    color: rgb(87, 86, 86);
}
.nav ._15{
    flex: 1.5;
    padding-left: 15px;
}
.nav ._1{
    flex: 1;
}
.nav  ._2{
    flex: 2;
}
.nav .hotel li:nth-child(1) a{
    background: url('../img/hotel-1.png') no-repeat right bottom;
    background-size: 94px auto;
}
.nav .hotel li:nth-child(2) a{
    background: url('../img/hotel-2.png') no-repeat left bottom;
    background-size: 37px auto;
}
.nav .flight li:nth-child(1) a{
    background: url('../img/flight-1.png') no-repeat right bottom;
    background-size: 79px auto;
}
.nav .travel li:nth-child(1) a{
    background: url('../img/travel-1.png') no-repeat right bottom;
    background-size: 79px auto;
}
.subnav-entry{
    margin: -14px 15px 0;
    height: 110px;
    background: #fff;
}
.subnav-entry ul{
    display: flex;
    flex-wrap: wrap;
    padding: 0;
}
.subnav-entry ul li{
    display: flex;
    flex-direction: column;
    flex: 20%;
    height: 53px;
    text-align: center;
    align-items: center;
    font-size: 12px;
}
.subnav-entry ul  span[class^='subnav-icon']{
    margin: 3px 0;
    width: 28px;
    height: 28px;
    background: url('../img/subnav-icon.png') no-repeat;
    background-size: 28px auto;
}
.subnav-entry ul li .subnav-icon1{
    background-position: 0 0;
}
.subnav-entry ul li .subnav-icon2{
    background-position: 0 -28px;
}
.subnav-entry ul li .subnav-icon3{
    background-position: 0 -56px;
}
.subnav-entry ul li .subnav-icon4{
    background-position: 0 -84px;
}
.subnav-entry ul li .subnav-icon5{
    background-position: 0 -112px;
}
.subnav-entry ul li .subnav-icon6{
    background-position: 0 -140px;
}
.subnav-entry ul li .subnav-icon7{
    background-position: 0 -168px;
}
.subnav-entry ul li .subnav-icon8{
    background-position: 0 -196px;
}
.subnav-entry ul li .subnav-icon9{
    background-position: 0 -224px;
}
.subnav-entry ul li .subnav-icon10{
    background-position: 0 -252px;
}
.tool-box{
    width: 100%;
    height: 60px;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}
.tool-box .tool-cn ul {
    display: flex;
    padding: 0;
}
.tool-box .tool-cn ul li{
    flex: 1;
}
.tool-box .tool-cn ul li a{
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
    color: #333;
}
.tool-box .tool-cn ul li a .tool-cn-icon{
    width: 20px;
    height: 20px;
    margin: 12px 0 2px;
    background: url();
}

.tool-var{
    margin-top: 15px;
    width: 100%;
    height: 24px;
    text-align: center;
    color: #999;
    line-height: 24px;
}
.tool-var a{
    color: #999;
    font-size: 12px;
}
.tool-var a:nth-child(2)::before{
    content: '';
    display: inline-block;
    padding: 0 7px 0 0;
    width: 11px;
    height: 11px;
    background: url('../img//tool-var-icon.png') no-repeat 0px -160px;
    background-size: 30px auto;
}
.tool-var a:nth-child(2)::after{
    content: '';
    display: inline-block;
    vertical-align: middle;
    margin-left: 6px;
    width: 5px;
    height: 5px;
    border-width: 0 1px 1px 0;
    border-color: #666;
    border-style: solid;
    transform: rotate(45deg);
}
.tool-box p{
    width: 100%;
    height: 27px;
    text-align: center;
    color: #999;
    font-size: 12px;
    line-height: 27px;
}
.tool-box p a{
    color: #999;
    font-size: 12px;
}